import { Swipe, SwipeItem,Button,Popup,Cell  } from 'vant';
import VueLazyload from 'vue-lazyload'


let plugins=[
  Swipe,SwipeItem,Button,Popup,VueLazyload
]

export default function getVant(app){
  plugins.forEach((item)=>{
      return app.use(item)
  })
}

// app.use(VueLazyload,{
//   loading: require('@/common/image/default.jpg'),
//   error: require('@/common/image/error.jpg')
// })